package com.qianyu.entity.dto;

import com.qianyu.entity.base.BaseNotifyDto;
import com.qianyu.entity.base.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "QqAccountDto")
public class QqAccountDto {


    @Data
    @ApiModel(value = "QqAccountDto&QqAccountSaveDto")
    public static class QqAccountSaveDto{

        @ApiModelProperty(value = "获取数量")
        private Integer num;

        /**
         * 身份:0=建群号,1=发包号,2=领包号
         */
        @NotNull(message="[身份:0=建群号,1=发包号,2=领包号]不能为空")
        @ApiModelProperty("身份:0=建群号,1=发包号,2=领包号")
        private Integer role;

        @ApiModelProperty("备注")
        private String remark;

    }


    @Data
    @ApiModel(value = "QqAccountDto&QqAccountAuthDto")
    public static class QqAccountAuthDto extends BaseNotifyDto {

        @ApiModelProperty("实名手机号")
        private String phone;

        @ApiModelProperty("实名密码")
        private String pwd;

        @ApiModelProperty("实名证件号")
        private String idNo;

    }

    @Data
    @ApiModel(value = "QqAccountDto&QqAccountPageDto")
    public static class QqAccountPageDto extends PageDTO {

        @ApiModelProperty("状态:0=正常,-1=冻结,1=完成")
        private Integer status;

        /**
         * 身份:0=建群号,1=发包号,2=领包号
         */
        @ApiModelProperty("身份:0=建群号,1=发包号,2=领包号")
        private Integer role;

        @ApiModelProperty("qq筛选")
        private String qq;

    }

}
